<?php
/*
Plugin Name: 系列号生成系统
Version: 0.0.1
Plugin URL:http://wikimoe.com
Description: 序列号生成插件
Author: 广树
Author URL: http://wikimoe.com
*/
!defined('EMLOG_ROOT') && exit('access deined!');
function wm_serial_number_backup(){
	global $tables;
	$DB = MySql::getInstance();
	$is_exist_album_query = $DB->query('show tables like "'.DB_PREFIX.'wm_serial_number"');
	if($DB->num_rows($is_exist_album_query) != 0) array_push($tables, 'wm_serial_number');
}
addAction('data_prebakup', 'wm_serial_number_backup');
?>